import iView from 'iview';

/**
 * 消息提示成功
 * @param txt
 * @constructor
 */
export function MsgSuccess(txt) {
  iView.Message.destroy();
  iView.Message.success(txt);
}

/**
 * 消息提示错误
 * @param txt
 * @constructor
 */
export function MsgError(txt) {
  iView.Message.destroy();
  iView.Message.error(txt);
}